package overrideoverwrite;

/**
 * @ClassName futher
 * @Date 2024/11/5 20:55 18
 * @Author Jack Chen
 * @Description serenity-cucumber-auto-project-jack
 * @Version 1.0
 */

public class Animal {
    String name;
    public Animal(String name) {
        this.name = name;
    }

    public void voice() {
        System.out.println(name + "在叫... ");
    }
}
